package com.ruoyi.web.controller.mall.orderShipping.mapper;

import java.util.List;
import com.ruoyi.web.controller.mall.orderShipping.domain.OrderShipping;

/**
 * 订单配送Mapper接口
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
public interface OrderShippingMapper 
{
    /**
     * 查询订单配送
     * 
     * @param id 订单配送ID
     * @return 订单配送
     */
    public OrderShipping selectOrderShippingById(String id);

    /**
     * 查询订单配送列表
     * 
     * @param orderShipping 订单配送
     * @return 订单配送集合
     */
    public List<OrderShipping> selectOrderShippingList(OrderShipping orderShipping);

    /**
     * 新增订单配送
     * 
     * @param orderShipping 订单配送
     * @return 结果
     */
    public int insertOrderShipping(OrderShipping orderShipping);

    /**
     * 修改订单配送
     * 
     * @param orderShipping 订单配送
     * @return 结果
     */
    public int updateOrderShipping(OrderShipping orderShipping);

    public int updateOrderShippingByOrderId(OrderShipping orderShipping);

    /**
     * 删除订单配送
     * 
     * @param id 订单配送ID
     * @return 结果
     */
    public int deleteOrderShippingById(String id);

    /**
     * 批量删除订单配送
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteOrderShippingByIds(String[] ids);
}
